]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
viewSelector: Allow to start keynav using the down arrow
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 15 Aug 2012 10:03:09 +0000 (12:03 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 20 Aug 2012 18:40:01 +0000 (20:40 +0200)
As the search entry acts like it had keyboard focus, it seems
logical to use the down arrow to move focus to the active page.

https://bugzilla.gnome.org/show_bug.cgi?id=682109

js/ui/viewSelector.js

index df86dc66f4db136824f29bb4baa1c1855ae36954..c2d3727f7d308109b472a2fd1c925271174b329d 100644 (file)
@@ -247,7 +247,7 @@ const ViewSelector = new Lang.Class({
                    (symbol == Clutter.BackSpace && this.active)) {
             this.startSearch(event);
         } else if (!this.active) {
-            if (symbol == Clutter.Tab) {
+            if (symbol == Clutter.Tab || symbol == Clutter.Down) {
                 this._activePage.navigate_focus(null, Gtk.DirectionType.TAB_FORWARD, false);
                 return true;
             } else if (symbol == Clutter.ISO_Left_Tab) {